Flatten BoundKind into BoundExpression - #9256
Conversation
BoundKind into BoundExpression
Merging this PR will regress 1 benchmark
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | Simulation | compress_fsst[(1000, 64, 8)] |
1 ms | 1.1 ms | -10.56% |
| ⚡ | Simulation | take[core/shuffled/primitive/nonnull/chunks=1024/indices=10000] |
15.3 ms | 13.4 ms | +14.24% |
| ⚡ | WallTime | words_gather_scalar[65536] |
9.4 µs | 8.2 µs | +13.81% |
Tip
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing mk/bound-expression-enum (19877cb) with develop (204d1d4)
Footnotes
-
89 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
93a164f to
9296dac
Compare
9296dac to
6c2ee4a
Compare
a664a73 to
68f9557
Compare
Signed-off-by: Matt Katz <mhkatz97@gmail.com>
68f9557 to
19877cb
Compare
| ( | ||
| BoundExpression::Root { dtype: lhs_dtype }, | ||
| BoundExpression::Root { dtype: rhs_dtype }, | ||
| ) => lhs_dtype == rhs_dtype, |
There was a problem hiding this comment.
This is slow to check!
There was a problem hiding this comment.
I guess it was already......
Collapses
BoundExpression { kind: BoundKind, dtype }into a single enum, withdtypeon each variant.This is a prerequisite for lambdas, which have no dtype but should be a variant.